package cn.edu.nit.sys.service;

import cn.edu.nit.sys.entity.Dict;
import cn.edu.nit.sys.utils.R;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Author xiaobai
 * @Date 2022/10/30 21:40
 * @Version 1.0.0
 */
public interface DictService extends IService<Dict> {
    R addDict(Dict dict);

    R getList(String label, String value, Page<Dict> page);

    R updateDict(Dict dict);

    R delDict(Integer id);
}
